package com.lagou.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @Author wsl
 * @Date 2021/11/13 22:34
 * @Project_Name jdbc_spring
 */
@Configuration
@ComponentScan("com.lagou") //代替<context:component-scan>
@EnableAspectJAutoProxy //开启AOP自动代理 代替<aop:aspectj-autoproxy>
public class SpringConfig {
}
